package mvc.model.pojos;

import java.util.Date;

public class ProductBean {
    private int pid;
    private int number;
    private String pname;
    private int price;
    private int count;
    private Date lasttime;
    private int flag;

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public ProductBean() {
    }

    public ProductBean(int pid, int number, String pname, int price, int count, Date lasttime, int flag) {
        this.pid = pid;
        this.number = number;
        this.pname = pname;
        this.price = price;
        this.count = count;
        this.lasttime = lasttime;
        this.flag = flag;
    }
}
